home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / RIncludes / Palettes.r < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.3 KB  |  47 lines  |  [TEXT/MPS ]

  1. /*
  2.      File:        Palettes.r
  3.  
  4.      Contains:    Palette Manager Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0.1
  8.  
  9.      Copyright:    © 1987-1993, 1995-1997 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        Please include the the file and version information (from above) with
  12.                  the problem description.  Developers belonging to one of the Apple
  13.                  developer programs can submit bug reports to:
  14.  
  15.                      devsupport@apple.com
  16.  
  17. */
  18.  
  19. #ifndef __PALETTES_R__
  20. #define __PALETTES_R__
  21.  
  22. #ifndef __CONDITIONALMACROS_R__
  23. #include "ConditionalMacros.r"
  24. #endif
  25.  
  26. /*----------------------------pltt • Color Palette--------------------------------------*/
  27. type 'pltt' {
  28.         integer = $$CountOf(ColorInfo);                         /* Color table count    */
  29.         fill long;                                                /* Reserved                */
  30.         fill word;                                                /* Reserved                */
  31.         fill long;                                                /* Reserved                */
  32.         fill long;                                                /* Reserved                */
  33.         wide array ColorInfo {
  34.             unsigned integer;                                    /* RGB: red                */
  35.             unsigned integer;                                    /*        green            */
  36.             unsigned integer;                                    /*         blue            */
  37.             integer        pmCourteous, pmDithered, pmTolerant,    /* Color usage            */
  38.                         pmAnimated = 4, pmExplicit = 8;
  39.             integer;                                            /* Tolerance value        */
  40.             fill word;                                            /* Private flags        */
  41.             fill long;                                            /* Private                */
  42.         };
  43. };
  44.  
  45. #endif /* __PALETTES_R__ */
  46.  
  47.